package infod

import (
	cinfod "gogs.xiaoyuanjijiehao.com/antlinker/antcms/core/infod"
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/ddd/repo/mgorepo"
)

// CreDomainOption 创建域配置
func CreDomainOption() cinfod.DomainOption {
	mgorepo.RegColForIndex(&collInfo{})
	return cinfod.DomainOption{
		InfoRepo:      &infoRepo{},
		InfoOplogRepo: &infoOplogRepo{},
	}
}
